Optimal. Leaf size=11 \[ \frac {\tan (x)}{\sqrt {\sec ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {3738, 4207,
197} \begin {gather*} \frac {\tan (x)}{\sqrt {\sec ^2(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 3738
Rule 4207
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1+\tan ^2(x)}} \, dx &=\int \frac {1}{\sqrt {\sec ^2(x)}} \, dx\\ &=\text {Subst}\left (\int \frac {1}{\left (1+x^2\right )^{3/2}} \, dx,x,\tan (x)\right )\\ &=\frac {\tan (x)}{\sqrt {\sec ^2(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 11, normalized size = 1.00 \begin {gather*} \frac {\tan (x)}{\sqrt {\sec ^2(x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 12, normalized size = 1.09
method | result | size |
derivativedivides | \(\frac {\tan \left (x \right )}{\sqrt {1+\tan ^{2}\left (x \right )}}\) | \(12\) |
default | \(\frac {\tan \left (x \right )}{\sqrt {1+\tan ^{2}\left (x \right )}}\) | \(12\) |
risch | \(-\frac {i {\mathrm e}^{2 i x}}{2 \sqrt {\frac {{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \left ({\mathrm e}^{2 i x}+1\right )}+\frac {i}{2 \sqrt {\frac {{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \left ({\mathrm e}^{2 i x}+1\right )}\) | \(65\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 11, normalized size = 1.00 \begin {gather*} \frac {\tan \left (x\right )}{\sqrt {\tan \left (x\right )^{2} + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.72, size = 11, normalized size = 1.00 \begin {gather*} \frac {\tan \left (x\right )}{\sqrt {\tan \left (x\right )^{2} + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.16, size = 12, normalized size = 1.09 \begin {gather*} \frac {\tan {\left (x \right )}}{\sqrt {\tan ^{2}{\left (x \right )} + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 11, normalized size = 1.00 \begin {gather*} \frac {\tan \left (x\right )}{\sqrt {\tan \left (x\right )^{2} + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 9, normalized size = 0.82 \begin {gather*} \mathrm {tan}\left (x\right )\,\sqrt {{\cos \left (x\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________